package lanqiao;

import java.util.Arrays;
import java.util.Scanner;

public class 特殊情况 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int n = Integer.parseInt(sc.nextLine());
        sc.nextLine();
        System.out.println(2);
    }
}
